package com.exahq.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.exahq.entity.Loginlog;
import com.exahq.mapper.LoginlogMapper;
import com.exahq.service.LoginlogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lhq
 * @since 2021-02-04
 */
@Service("LoginlogService")
public class LoginlogServiceImpl extends ServiceImpl<LoginlogMapper, Loginlog> implements LoginlogService {

@Autowired
 private LoginlogMapper  loginlogMapper;
    @Override
    public Loginlog getOneId(Integer aid) {
        return loginlogMapper.getOneId(aid);
    }

    @Override
    public List<Loginlog> selectLists(Integer id) {
        return loginlogMapper.selectLists(id);
    }


}
